package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 bsh_bsh
 * 
 * @author ruoyi
 * @date 2021-08-10
 */
public class BshBsh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String bshid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 国籍 */
    @Excel(name = "国籍")
    private String nation;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnic;

    /** 出生年月日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 出生省份 */
    @Excel(name = "出生省份")
    private String province;

    /** 出生城市 */
    @Excel(name = "出生城市")
    private String city;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String zhengzhimianmao;

    /** 入党日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入党日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rudangriqi;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 通信地址 */
    @Excel(name = "通信地址")
    private String address;

    public void setBshid(String bshid) 
    {
        this.bshid = bshid;
    }

    public String getBshid() 
    {
        return bshid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setEthnic(String ethnic) 
    {
        this.ethnic = ethnic;
    }

    public String getEthnic() 
    {
        return ethnic;
    }
    public void setBirth(Date birth) 
    {
        this.birth = birth;
    }

    public Date getBirth() 
    {
        return birth;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setZhengzhimianmao(String zhengzhimianmao) 
    {
        this.zhengzhimianmao = zhengzhimianmao;
    }

    public String getZhengzhimianmao() 
    {
        return zhengzhimianmao;
    }
    public void setRudangriqi(Date rudangriqi) 
    {
        this.rudangriqi = rudangriqi;
    }

    public Date getRudangriqi() 
    {
        return rudangriqi;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bshid", getBshid())
            .append("name", getName())
            .append("gender", getGender())
            .append("nation", getNation())
            .append("ethnic", getEthnic())
            .append("birth", getBirth())
            .append("province", getProvince())
            .append("city", getCity())
            .append("zhengzhimianmao", getZhengzhimianmao())
            .append("rudangriqi", getRudangriqi())
            .append("phone", getPhone())
            .append("address", getAddress())
            .toString();
    }
}
